<!-- <style type="text/css">
#video{height:106px; background:url("themes/tpso1/images/video_head.png") top left no-repeat; border:#5ea6d2 solid 1px; margin:0 0 10px 0; ; padding:0 0 0 25px;  text-align:center;}
#video .box2 img{width:102px; height:77px; border:#a7a7a7 solid 1px; padding:1px; display:block;}
#video .box2{float:left; border-right:#5ea6d2 dashed 1px; padding:0 6px; margin:5px 0; text-align:center;}
.video .box2 img{width:102px; height:77px; border:#a7a7a7 solid 1px; padding:1px; display:block;}
.video .box2{float:left;  padding:0 6px; margin:5px 0; text-align:center;}
</style>
<div id="video">
	<?php foreach($vdos as $vdo):?>
		<div class="box2"><a href=""><?=thumb($vdo->cover_pic,106,81,1)?><span><?=$vdo->title?></span></a></div>
	<?php endforeach;?>
</div> -->

<link rel="stylesheet" type="text/css" href="media/js/featured-content-slider/style.css" />
<style type="text/css">
#featured_vdo iframe{width:400px; height:250px;}
</style>

<script type="text/javascript">
	$(document).ready(function(){
		//$("#featured_vdo > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 500000, true);
		$("#featured_vdo li").live("click",function(){
			$(this).addClass("ui-tabs-selected").siblings().removeClass("ui-tabs-selected");
			var id = $(this).find("input[type=hidden]").val();
			$.post("vdos/ajax_load_vdo",{
				'id':id
			},function(data){
				$('.script_here').html(data);
			});
		});
		
		$("#featured_vdo li:first").addClass("ui-tabs-selected");
		var firstId = $("#featured_vdo li:first").find("input[type=hidden]").val();
		$.post("vdos/ajax_load_vdo",{
			'id':firstId
		},function(data){
			$('.script_here').html(data);
		});
	});
</script>

<div id="featured_vdo" >
	<ul class="ui-tabs-nav">
		<?php foreach($vdos as $vdo):?>
			<li class="ui-tabs-nav-item" id="nav-fragment2"><?php echo thumb($vdo->cover_pic,80,50,1)?><a><span><?php echo $vdo->title?></span></a><input type="hidden" name="id" value="<?=$vdo->id?>"></li>
		<?php endforeach;?>
	</ul>

	<div class="script_here"></div>
	</div>
</div>
<br>
<br clear="all">
	